﻿using YaTools.Yaml;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;

namespace YaTools.Yaml.UnitTests
{
    /// <summary>
    ///This is a test class for YamlTagPropertyAttributeTest and is intended
    ///to contain all YamlTagPropertyAttributeTest Unit Tests
    ///</summary>
    [TestClass()]
    public class YamlTagPropertyAttributeTest
    {
        /// <summary>
        ///A test for YamlTagPropertyAttribute Constructor
        ///</summary>
        [TestMethod()]
        public void YamlTagPropertyAttributeConstructorTest()
        {
            YamlTagPropertyAttribute target = new YamlTagPropertyAttribute();
            Assert.IsNotNull(target);
        }

        /// <summary>
        ///A test for Equals
        ///</summary>
        [TestMethod()]
        public void EqualsTest()
        {
            YamlTagPropertyAttribute target = new YamlTagPropertyAttribute();
            YamlTagPropertyAttribute target2 = new YamlTagPropertyAttribute();
            Assert.IsTrue(target.Equals(target));
            Assert.IsTrue(target.Equals(target2));
            Assert.IsFalse(target.Equals(null));
            Assert.AreEqual(target.GetHashCode(), target2.GetHashCode());
        }
    }
}